require 'watir'
include Watir
require 'test/unit'
require 'test/unit/ui/console/testrunner'
require 'watir/testUnitAddons'
require 'watir/testcase'
require 'watir/contrib/enabled_popup'
class TC_Photos < Test::Unit::TestCase
  def test_08
    $ie.goto($UniVar)
    $ie.refresh()
=begin
    $ie.link(:text, 'Control Panel').click
    $ie.link(:text, 'Administration').click
    $ie.table(:index, 5).click
    $ie.link(:index, 13).click
    $ie.text_field(:index, 1).value = "Aaabby"
    $ie.text_field(:index, 2).value = "Aaabby"
    $ie.link(:text, 'Save').flash
    $ie.link(:text, 'Save').click
    $ie.link(:text, 'Exit Control Panel and Return to Site').click

    $ie.link(:text, 'Photos').click
    $ie.link(:text, 'Aaabby').click
    $ie.link(:text, 'View Slideshow').click
=end
$ie.goto('http://localhost/cs/photos/sample/slideshowpro.aspx')
$ie.divs.each do |i|
begin
i.flash
end
end

  end
end